<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人资料</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" href="/favicon.ico">
    <link rel="stylesheet" href="/js/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_1911813_s7m2ktfo.css"  media="all"/>
    <link rel="stylesheet" href="/css/public.css" media="all" />
    <link rel="stylesheet" href="/css/system.css"/>
</head>
<body class="tabMain">
    <div class="layui-tab layui-tab-card magl10">
        <ul class="layui-tab-title">
            <li class="layui-this">个人资料</li>
            <li>修改密码</li>
        </ul>
        <div class="layui-tab-content" style="height: 100px;" >
            <div class="layui-tab-item layui-show">
                <div class="layui-row">
                    <div class="layui-col-xs6">
                        <form class="layui-form" action="" lay-filter="userinfo">
                            <div class="layui-form-item">
                                <label class="layui-form-label required">昵称</label>
                                <div class="layui-input-block">
                                    <input type="text" name="nickName" lay-verify="nickName" maxlength="20" v-model="userInfo.nickName"  autocomplete="off" placeholder="请输入昵称" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">手机号</label>
                                <div class="layui-input-block">
                                    <input type="number" name="phone" maxlength="15" lay-verify="myphone" v-model="userInfo.phone"  autocomplete="off" placeholder="请输入手机号" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">性别</label>
                                <div class="layui-input-block">
                                    <input type="radio" name="sex" value="男" title="男" checked="">
                                    <input type="radio" name="sex" value="女" title="女">
                                </div>
                            </div>
                            <div class="layui-form-item layui-form-text">
                                <label class="layui-form-label">备注</label>
                                <div class="layui-input-block">
                                    <textarea placeholder="请输入备注信息" class="layui-textarea" name="remark"></textarea>
                                </div>
                            </div>
                            <div class="layui-form-item align-center magt30">
                                <div class="layui-input-block">
                                    <button type="submit" class="layui-btn" lay-submit  lay-filter="btn_save" id="btn_save">保  存</button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="layui-col-xs4 align-center">
                        <div class="layui-upload">
                            <div class="layui-upload-list ">
                                <img class="userPhoto" id="avatarUrl" name="avatarUrl">
                                <p id="demoText"></p>
                            </div>
                            <button type="button" class="layui-btn layui-btn-normal" id="test1">更新头像</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-tab-item">
                <div class="layui-col-xs6">
                    <form class="layui-form" action="" lay-filter="passwordInfo">
                        <div class="layui-form-item">
                            <label class="layui-form-label required">原密码</label>
                            <div class="layui-input-block">
                                <input type="password" name="currentPassword" lay-verify="password" maxlength="20"  autocomplete="off" placeholder="请输入原密码" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label required">新密码</label>
                            <div class="layui-input-block">
                                <input type="password" name="confirmPassword" lay-verify="password" maxlength="20"  id="newPassword" autocomplete="off" placeholder="请输入新密码" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label required">确认密码</label>
                            <div class="layui-input-block">
                                <input type="password" lay-verify="password|password2" maxlength="20"  autocomplete="off" placeholder="请输入确认密码" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item align-center magt30">
                            <div class="layui-input-block">
                                <button type="submit" class="layui-btn" lay-submit  lay-filter="btn_submit" id="btn_submit">保  存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="/js/jquery-3.5.1.js" ></script>
<script type="text/javascript" src="/js/plugins/layui/layui.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/js/service.js"></script>
<script type="text/javascript" src="/js/system/user/userCenter.js"></script>
</html>